package com.marvin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.marvin.core.Blog;
import com.marvin.vo.ArticleWithYear;

import java.util.List;
import java.util.Map;
import java.util.TreeMap;

/**
 * @author yinyin
 * @create 2021/12/06 上午 10:15
 */
public interface IArchiveService {
    TreeMap<Integer, List<Blog>> queryBlogs();
    List<ArticleWithYear>  queryBlogs2();

    List<Map<String,Object>> queryYear();



    IPage<Blog> getBlogYear(Integer pageNo, Integer pageSzie, Integer year);
}
